package Chpter4;

class Animal13{
	//rewrite toString
	public String toString() {
		return "I am an animal.";
	}
}

public class Example17 {
	public static void main(String[] args) {
		Animal13 animal=new Animal13();
		System.out.println(animal.toString());
	}

}
